package com.example.springboot.entity;

import lombok.Data;

@Data
public class LiveClass {
    private long createTimestamp;
    private long endTimestamp;
    private int duration;
    private String roomId;
    private String subject;

    public LiveClass(long createTimestamp, long endTimestamp, int duration, String roomId, String subject) {
        this.createTimestamp = createTimestamp;
        this.endTimestamp = endTimestamp;
        this.duration = duration;
        this.roomId = roomId;
        this.subject = subject;
    }
}
